export const BASE_URL = "http://localhost:8888";
export const BASE_WS_URL = "ws://localhost:8082/websocket/"
// export const base_url = "http://fangweb.top:8888/";            // 生产环境
// export const BASE_WS_URL = "ws://fangweb.top:8888/websocket/"  // 生产环境

// WebSocket 地址
// export const wsUrl = 'ws://localhost:8888/core/user/ws/upload'
export const wsUrl = 'ws://localhost:8082/ws/upload'
export const WAITING_TIME = 10        // 等待ws链接时间/s
export const MAX_CONCURRENT = 5  /* 最大并发 */

export const AUTHORIZATION = "Authorization"
export const USER_ID = "USER_ID"
export const NICK_NAME = "NICK_NAME"


export const CODE_SUCCESS = "0000"
export const CODE_USER_NOT_LOGIN = "0101"
export const CODE_PERMISSION_DENIED = "0108"
export const CODE_LOGIN_EXPIRED = "0109"
